package com.halflife.framework.dto;

import java.util.List;

public class Select2Json<T> {
    private List<T> results;
    private Pagination pagination;

    public Select2Json() {
        this.pagination = new Pagination();
    }

    public List<T> getResults() {
        return results;
    }

    public void setResults(List<T> results) {
        this.results = results;
    }

    public Pagination getPagination() {
        return pagination;
    }

    public void setPagination(Pagination pagination) {
        this.pagination = pagination;
    }

    public static class  Pagination{
        public Boolean more;

        public Boolean getMore() {
            return more;
        }

        public void setMore(Boolean more) {
            this.more = more;
        }
    }
}
